/*
 * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @Date: 2024-03-20 16:29:59
 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @LastEditTime: 2024-03-30 10:13:29
 * @FilePath: /etws-sxk2307/tools/spidev/spi.h
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#ifndef __SPI_H
#define __SPI_H

extern int spiInit(const char* devPath);
extern int spiTransmit(int fd, uint8_t *wdata, size_t wbytes, uint8_t *rdata, size_t rbytes);

#endif